package agngui.tools;
/**
 * An interface describing what an object should do with its values
 * in order to make sure they are within the desired constraints.
 *
 * @author Ben Bloom
 */
public interface Constraint {
	/**
	 * This method should return an empty string if there is no problem with the object.
	 * In other words, if all values are within their given constraints.
	 * 
	 * Otherwise, this method should return a String describing the problem or
	 * problems with the values that are not within their constraints.
	 */
	public String checkConstraints();
}